package com.cxf.impl;

import java.util.List;

import javax.jws.WebService;

import com.cxf.iface.Customer;
import com.db.server.JJRService;
import com.mcm.bean.V5esbCustomerCustomer;

@WebService 
public class CustomerImpl implements Customer {

	@Override
	public V5esbCustomerCustomer getByOpenId(String openId) {
		JJRService jjrs = new JJRService();
		return jjrs.getByOpenId(openId);
	}

	@Override
	public List<V5esbCustomerCustomer> findBranch(String sourceCode) {
		JJRService jjrs = new JJRService();
		return jjrs.findBranch(sourceCode);
	}

}
